/**
  WSL2
 */
{ config, lib, pkgs, inputs, ... }: {
  imports = map (x: (inputs.self + /modules/${x})) [
    "docker"
    "fish"
    "vscode-server"
  ];

  wsl.enable = true;
  wsl.defaultUser = "falldot";

	users = {
    users = {
      falldot = {
        isNormalUser = true;
        extraGroups = [ "wheel" "docker" ];
      };
    };
  };

	nix = {
    settings = {
      experimental-features = "nix-command flakes";
      auto-optimise-store = true;
    };

    gc = {
      automatic = true;
      dates = "weekly";
      options = "--delete-older-than 10d";
    };

    optimise = {
      automatic = true;
    };
  };

	nixpkgs = {
		hostPlatform = "x86_64-linux";
		config.allowUnfree = true;
	};

  system.stateVersion = "23.11";
}
